SureTax Returns API
PATCH Form Instances
Overview
This API endpoint facilitates the updating of the status associated with a form instance. It allows clients to modify the status of a form instance based on their specific requirements or workflow processes.
OperationId: PATCH Form Instances
Authorization Method(s): OAuth
Verb: PATCH
End Point: /api/v1/Forms/FormInstances
Example Request
{
"formInstances": [
{
"id": "string",
"status": "string"
}
]
}*Mandatory parameter
Overview
Response object for PATCH requests that update form instances, including error messages for any issues encountered during the update process.
Example Response
{
"data": {
"formInstances": [
{
"id": "FORM12345",
"errorMessage": "No errors."
},
{
"id": "FORM67890",
"errorMessage": "Error while updating form instance."
}
]
}
}| code | description |
|---|---|
| 200 | The API response contains the updated form instances along with any error messages. |
| 400 | Bad request. Invalid data provided. |
| 401 | Unauthorized access. |
| 500 | Internal server error. |